package com.ccp.dev.im.dao;

import com.ccp.dev.core.basic.base.IBaseMapper;
import com.ccp.dev.core.basic.web.query.QueryFilter;
import com.ccp.dev.im.model.ImSystemMessage;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 系统消息 信息数据库操作类
 *
 * @author y
 * @date 2020-03-11 10:21:05
 */
@Mapper
public interface ImSystemMessageDao extends IBaseMapper<ImSystemMessage,String> {

    List<ImSystemMessage> queryAll(QueryFilter queryFilter);

    List<ImSystemMessage> queryByReceiveUser(QueryFilter queryFilter);

    int queryNotReadMsgNum(Map map);

    int updateMsgReadStatus(Map map);
}
